package com.mano.mall.api.pay;

import com.alibaba.fastjson.JSONObject;
import com.mano.mall.common.base.BaseResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Api(tags = "支付html")
public interface PayContextService {

	/**
	 * 根据支付渠道，组装支付页面
	 * @param channelId
	 * @param payToken
	 * @return
	 */
	@GetMapping("/toPayHtml")
	@ApiOperation(value = "根据支付渠道，组装支付页面")
	public BaseResponse<JSONObject> toPayHtml(@RequestParam("channelId") String channelId, @RequestParam("payToken") String payToken);
}
